package com.foreknow.demo10;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class ExceptionDemo2 {
    public void m1() throws Exception {

    }

    public void m2() throws Exception {
        m1();
    }

    public void m3() throws FileNotFoundException {
        FileInputStream fileInputStream = new FileInputStream("");
    }

    public static void main(String[] args) throws FileNotFoundException {
        ExceptionDemo2 demo2 = new ExceptionDemo2();
        demo2.m3();
    }
}
